cpttype(object)<-value
object
depends on the method used (and if one exists)
object
, see individual methods
cpttype<--methods
x=new("cpt") # new cpt object
cpttype(x)<-"mean" # replaces the existing cpttype in object x with "mean"
Run the code above in your browser using DataLab